Motion.SetGroupParameter 方法
設定軸組的參數值。參數於 McGroupParameter 中定義。
命名空間:IntervalZero.KINGSTAR.Local.Api
組合: IntervalZero.KINGSTAR.Local.Api (於 IntervalZero.KINGSTAR.Local.dll) 版本:4.4.0.0
語法
public KsCommandStatus SetGroupParameter(
int Index,
McGroupParameter ParameterNumber,
double Value,
McExecutionMode ExecutionMode
)
Public Function SetGroupParameter(
Index As Integer,
ParameterNumber As McGroupParameter,
Value As Double,
ExecutionMode As McExecutionMode
) As KsCommandStatus
參數
Index [in]
型別:int
軸組的索引。索引以 0 為起始。最多可有 32 個軸組。
ParameterNumber [in]
McGroupParameter 中的參數。
Value [in]
型別:double
將值寫入從 McGroupParameter 中選取的參數。例如選取 McGroupParameter 中的 mcMaxVelocityACS
參數,則須將值寫入此參數。
ExecutionMode [in]
定義方法的時間順序。
回傳值
回傳 KsCommandStatus 類別。
範例
N/A
參見